package com.ls.controller.customer.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;


/**
 * @ClassName RegisteOrLoginModel
 * @Description APP用户注册或登录model
 * @Author pengyu
 * @Date 2024/6/27 17:14
 * @Version 1.0
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class RegisterOrLoginModel {

    @NotBlank(message = "手机号码不得为空")
    private String phone;

    @NotBlank(message = "短信验证码不得为空")
    private String smsVerifyCode;
}
